<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>VertexBuffer3D | ts</title>
	<meta name="description" content="Documentation for ts">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">ts</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
							<input type="checkbox" id="tsd-filter-only-exported" />
							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="../modules/_laya_d3_graphics_vertexbuffer3d_.html">&quot;laya/d3/graphics/VertexBuffer3D&quot;</a>
				</li>
				<li>
					<a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html">VertexBuffer3D</a>
				</li>
			</ul>
			<h1>Class VertexBuffer3D</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p><code>VertexBuffer3D</code> 类用于创建顶点缓冲。</p>
					</div>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<a href="_laya_webgl_utils_buffer_.buffer.html" class="tsd-signature-type">Buffer</a>
						<ul class="tsd-hierarchy">
							<li>
								<span class="target">VertexBuffer3D</span>
							</li>
						</ul>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Constructors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#constructor" class="tsd-kind-icon">constructor</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Properties</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#_bytelength" class="tsd-kind-icon">_byte<wbr>Length</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#datatype_float32array" class="tsd-kind-icon">DATATYPE_<wbr>FLOAT32ARRAY</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#datatype_uint8array" class="tsd-kind-icon">DATATYPE_<wbr>UINT8ARRAY</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static"><a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#_bindedindexbuffer" class="tsd-kind-icon">_binded<wbr>Index<wbr>Buffer</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static"><a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#_bindedvertexbuffer" class="tsd-kind-icon">_binded<wbr>Vertex<wbr>Buffer</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Accessors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited"><a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#bufferusage" class="tsd-kind-icon">buffer<wbr>Usage</a></li>
								<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#canread" class="tsd-kind-icon">can<wbr>Read</a></li>
								<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#vertexdeclaration" class="tsd-kind-icon">vertex<wbr>Declaration</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#bind" class="tsd-kind-icon">bind</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#destroy" class="tsd-kind-icon">destroy</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#getuint8data" class="tsd-kind-icon">get<wbr>Uint8<wbr>Data</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#orphanstorage" class="tsd-kind-icon">orphan<wbr>Storage</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#setdata" class="tsd-kind-icon">set<wbr>Data</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Constructors</h2>
				<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
					<a name="constructor" class="tsd-anchor"></a>
					<h3>constructor</h3>
					<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
						<li class="tsd-signature tsd-kind-icon">new <wbr>Vertex<wbr>Buffer3D<span class="tsd-signature-symbol">(</span>byteLength<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, bufferUsage<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, canRead<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html" class="tsd-signature-type">VertexBuffer3D</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Overrides <a href="_laya_webgl_utils_buffer_.buffer.html">Buffer</a>.<a href="_laya_webgl_utils_buffer_.buffer.html#constructor">constructor</a></p>
								<ul>
									<li>Defined in laya/d3/graphics/VertexBuffer3D.ts:42</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>创建一个 <code>VertexBuffer3D</code> 实例。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>byteLength: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<div class="lead">
											<p>字节长度。</p>
										</div>
									</div>
								</li>
								<li>
									<h5>bufferUsage: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<div class="lead">
											<p>VertexBuffer3D用途类型。</p>
										</div>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> canRead: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5>
									<div class="tsd-comment tsd-typography">
										<div class="lead">
											<p>是否可读。</p>
										</div>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html" class="tsd-signature-type">VertexBuffer3D</a></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Properties</h2>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
					<a name="_bytelength" class="tsd-anchor"></a>
					<h3>_byte<wbr>Length</h3>
					<div class="tsd-signature tsd-kind-icon">_byte<wbr>Length<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
					<aside class="tsd-sources">
						<p>Inherited from <a href="_laya_webgl_utils_buffer_.buffer.html">Buffer</a>.<a href="_laya_webgl_utils_buffer_.buffer.html#_bytelength">_byteLength</a></p>
						<ul>
							<li>Defined in laya/webgl/utils/Buffer.ts:13</li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="datatype_float32array" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> DATATYPE_<wbr>FLOAT32ARRAY</h3>
					<div class="tsd-signature tsd-kind-icon">DATATYPE_<wbr>FLOAT32ARRAY<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in laya/d3/graphics/VertexBuffer3D.ts:12</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>数据类型_Float32Array类型。</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="datatype_uint8array" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> DATATYPE_<wbr>UINT8ARRAY</h3>
					<div class="tsd-signature tsd-kind-icon">DATATYPE_<wbr>UINT8ARRAY<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in laya/d3/graphics/VertexBuffer3D.ts:14</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>数据类型_Uint8Array类型。</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
					<a name="_bindedindexbuffer" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> _binded<wbr>Index<wbr>Buffer</h3>
					<div class="tsd-signature tsd-kind-icon">_binded<wbr>Index<wbr>Buffer<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
					<aside class="tsd-sources">
						<p>Inherited from <a href="_laya_webgl_utils_buffer_.buffer.html">Buffer</a>.<a href="_laya_webgl_utils_buffer_.buffer.html#_bindedindexbuffer">_bindedIndexBuffer</a></p>
						<ul>
							<li>Defined in laya/webgl/utils/Buffer.ts:5</li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
					<a name="_bindedvertexbuffer" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> _binded<wbr>Vertex<wbr>Buffer</h3>
					<div class="tsd-signature tsd-kind-icon">_binded<wbr>Vertex<wbr>Buffer<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
					<aside class="tsd-sources">
						<p>Inherited from <a href="_laya_webgl_utils_buffer_.buffer.html">Buffer</a>.<a href="_laya_webgl_utils_buffer_.buffer.html#_bindedvertexbuffer">_bindedVertexBuffer</a></p>
						<ul>
							<li>Defined in laya/webgl/utils/Buffer.ts:4</li>
						</ul>
					</aside>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Accessors</h2>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
					<a name="bufferusage" class="tsd-anchor"></a>
					<h3>buffer<wbr>Usage</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> bufferUsage<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_webgl_utils_buffer_.buffer.html">Buffer</a>.<a href="_laya_webgl_utils_buffer_.buffer.html#bufferusage">bufferUsage</a></p>
								<ul>
									<li>Defined in laya/webgl/utils/Buffer.ts:15</li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
					<a name="canread" class="tsd-anchor"></a>
					<h3>can<wbr>Read</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> canRead<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/graphics/VertexBuffer3D.ts:40</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>是否可读。</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class">
					<a name="vertexdeclaration" class="tsd-anchor"></a>
					<h3>vertex<wbr>Declaration</h3>
					<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> vertexDeclaration<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_d3_graphics_vertexdeclaration_.vertexdeclaration.html" class="tsd-signature-type">VertexDeclaration</a></li>
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">set</span> vertexDeclaration<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><a href="_laya_d3_graphics_vertexdeclaration_.vertexdeclaration.html" class="tsd-signature-type">VertexDeclaration</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/graphics/VertexBuffer3D.ts:27</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>获取顶点声明。</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <a href="_laya_d3_graphics_vertexdeclaration_.vertexdeclaration.html" class="tsd-signature-type">VertexDeclaration</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/graphics/VertexBuffer3D.ts:31</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>获取顶点声明。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>value: <a href="_laya_d3_graphics_vertexdeclaration_.vertexdeclaration.html" class="tsd-signature-type">VertexDeclaration</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
					<a name="bind" class="tsd-anchor"></a>
					<h3>bind</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
						<li class="tsd-signature tsd-kind-icon">bind<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Overrides Buffer.bind</p>
								<ul>
									<li>Defined in laya/d3/graphics/VertexBuffer3D.ts:70</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>inheritdoc</dt>
									<dd></dd>
									<dt>override</dt>
									<dd></dd>
								</dl>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
					<a name="destroy" class="tsd-anchor"></a>
					<h3>destroy</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
						<li class="tsd-signature tsd-kind-icon">destroy<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Overrides Buffer.destroy</p>
								<ul>
									<li>Defined in laya/d3/graphics/VertexBuffer3D.ts:146</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>inheritdoc</dt>
									<dd></dd>
									<dt>override</dt>
									<dd></dd>
								</dl>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getuint8data" class="tsd-anchor"></a>
					<h3>get<wbr>Uint8<wbr>Data</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Uint8<wbr>Data<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/graphics/VertexBuffer3D.ts:116</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>获取顶点数据。</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4>
							<p>顶点数据。</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="orphanstorage" class="tsd-anchor"></a>
					<h3>orphan<wbr>Storage</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">orphan<wbr>Storage<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/graphics/VertexBuffer3D.ts:84</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>剥离内存块存储。</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setdata" class="tsd-anchor"></a>
					<h3>set<wbr>Data</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Data<span class="tsd-signature-symbol">(</span>buffer<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, bufferOffset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, dataStartIndex<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, dataCount<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/graphics/VertexBuffer3D.ts:96</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置数据。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>buffer: <span class="tsd-signature-type">ArrayBuffer</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bufferOffset: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>顶点缓冲中的偏移,以字节为单位。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> dataStartIndex: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>顶点数据的偏移,以字节为单位。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> dataCount: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = Number.MAX_SAFE_INTEGER</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>顶点数据的长度,以字节为单位。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
					<li class="current tsd-kind-module">
						<a href="../modules/_laya_d3_graphics_vertexbuffer3d_.html">&quot;laya/d3/graphics/<wbr>Vertex<wbr>Buffer3<wbr>D&quot;</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class tsd-parent-kind-module">
						<a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html" class="tsd-kind-icon">Vertex<wbr>Buffer3D</a>
						<ul>
							<li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
								<a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#constructor" class="tsd-kind-icon">constructor</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#_bytelength" class="tsd-kind-icon">_byte<wbr>Length</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#datatype_float32array" class="tsd-kind-icon">DATATYPE_<wbr>FLOAT32ARRAY</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#datatype_uint8array" class="tsd-kind-icon">DATATYPE_<wbr>UINT8ARRAY</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
								<a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#_bindedindexbuffer" class="tsd-kind-icon">_binded<wbr>Index<wbr>Buffer</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
								<a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#_bindedvertexbuffer" class="tsd-kind-icon">_binded<wbr>Vertex<wbr>Buffer</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#bufferusage" class="tsd-kind-icon">buffer<wbr>Usage</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class">
								<a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#canread" class="tsd-kind-icon">can<wbr>Read</a>
							</li>
							<li class=" tsd-kind-accessor tsd-parent-kind-class">
								<a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#vertexdeclaration" class="tsd-kind-icon">vertex<wbr>Declaration</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
								<a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#bind" class="tsd-kind-icon">bind</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
								<a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#destroy" class="tsd-kind-icon">destroy</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#getuint8data" class="tsd-kind-icon">get<wbr>Uint8<wbr>Data</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#orphanstorage" class="tsd-kind-icon">orphan<wbr>Storage</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_graphics_vertexbuffer3d_.vertexbuffer3d.html#setdata" class="tsd-kind-icon">set<wbr>Data</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer>
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>